package com.hz.nutiparams.os.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 杨川 on 2016-08-09 10:04:26.
 */
public class UserSession  implements Serializable {

    /**
     * 用户角色
     */
    private List<Long> roles;

    /**
     * 用户uid
     */
    private long uid;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 用户类型 100为超级管理员
     */
    private int userType;

    public List<Long> getRoles() {
        return roles;
    }

    public void setRoles(List<Long> roles) {
        this.roles = roles;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }
}
